package com.dyzx.hbb.modules.wms.query;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 供应商查询条件
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "供应商查询条件")
public class WmsSupplierQuery {

    @Schema(description = "供应商编码")
    private String code;

    @Schema(description = "供应商名称")
    private String name;

    @Schema(description = "供应商类型")
    private Integer type;

    @Schema(description = "供应商状态")
    private Integer status;

    @Schema(description = "联系人")
    private String contact_person;

    @Schema(description = "联系电话")
    private String contact_phone;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "传真")
    private String fax;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区县")
    private String district;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "邮政编码")
    private String zip_code;

    @Schema(description = "公司网址")
    private String website;

    @Schema(description = "税号")
    private String tax_number;

    @Schema(description = "开户银行")
    private String bank_name;

    @Schema(description = "银行账号")
    private String bank_account;

    @Schema(description = "信用额度")
    private Double credit_limit;

    @Schema(description = "信用级别")
    private Integer credit_level;

    @Schema(description = "采购代表")
    private String purchase_rep;

    @Schema(description = "供应产品类别")
    private String product_category;

    @Schema(description = "结算方式")
    private Integer settlement_method;

    @Schema(description = "付款周期")
    private Integer payment_cycle;

    @Schema(description = "合作开始日期")
    private String cooperation_start_date;

    @Schema(description = "是否优选供应商")
    private Boolean is_preferred;

    @Schema(description = "备注")
    private String remark;
}